package entity;

import java.io.Serializable;

/**
 * Borrow_card
 *
 * @author lenovo
 * @since 2023/8/25
 */
public class Borrow_card implements Serializable {
    private static final long serialVersionUID = 42L;

    //id
    private int id;

    //密码
    private String password;

    //读者
    private String reader;

    //规则Id
    private int rule_id;

    //状态
    private int status;

    public Borrow_card() {
    }

    public Borrow_card(String password, String reader, int rule_id, int status) {
        this.password = password;
        this.reader = reader;
        this.rule_id = rule_id;
        this.status = status;
    }

    public Borrow_card(int id, String password, String reader, int rule_id, int status) {
        this.id = id;
        this.password = password;
        this.reader = reader;
        this.rule_id = rule_id;
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getReader() {
        return reader;
    }

    public void setReader(String reader) {
        this.reader = reader;
    }

    public int getRule_id() {
        return rule_id;
    }

    public void setRule_id(int rule_id) {
        this.rule_id = rule_id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
